package 设计模式.动态代理;

/**
 * @Project ：learn_java
 * @File ：BigStar.java
 * @IDE ：IntelliJ IDEA
 * @Author ：自由如风间
 * @Date ：2025/4/2 17:22
 * @Description ：For study.
 */

public class BigStar implements Star {

    private String name;

    public BigStar(String name) {
        this.name = name;
    }

    public String sing(String name) {
        System.out.println(this.name + "正在唱：" + name);
        return "谢谢大家！";
    }

    public void dance() {
        System.out.println(this.name + "正在跳舞~~~");
    }
}
